-
Notifications
You must be signed in to change notification settings - Fork 101
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fixes for Pandas 2 support #742
base: main
Are you sure you want to change the base?
Conversation
(Better solution might exist)
Thank you for this! Will review later this week.
It's OK to break Pandas 1.5 support in a new release if it brings Pandas 2.0 support. |
buildkite test this please |
It looks like we encountered the next error in CI/CD, the documentation is still being built using a Python 3.8 install with Pandoc:
Any ideas on how to address it? Should I revert the changes in |
We can revert this revert when #746 is merged. buildkite test this please |
buildkite test this please |
buildkite test this please |
The build error seems to be unrelated to the code changes: https://buildkite.com/elastic/eland/builds/588#01948f2a-3f56-4201-91c8-e43a29821fa7/534-565 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great work, thank you! My comments are mostly about making this easier to maintain going forward. Again, I really appreciate the time you took for this. This will ship in the upcoming 8.18 and 9.0 releases of Eland.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I agree with all the suggestions, so I'll address them one at a time and close the corresponding threads.
buildkite test this please |
From pandas 2 and upwards, index is set to None by default
I have started to work on the Pandas 2 support again. Locally I'm testing with an environment that already uses Pandas 2, and these are the changes that were required to get some tests fixed.
The objective is to not break the Pandas 1.5 support, so these should be safe to merge. Where it seemed useful I added some line comments with the reasoning behind the change.
Some more PRs might follow later this week. Once all tests pass on Pandas 2, we can update the CI to include it in the test matrix.